import Layout from '@/layouts/index.vue';
import { shallowRef } from 'vue';
import { DashboardIcon } from 'tdesign-icons-vue-next';

export default [
    {
        path: '/',
        component: Layout,
        redirect: '/base',
        name: 'dashboard',
        meta: {
          title: {
            zh_CN: '仪表盘',
            en_US: 'Dashboard',
          },
          icon: shallowRef(DashboardIcon),
          orderNo: 0,
        },
        children: [
            {
              path: 'base',
              name: 'DashboardBase',
              component: () => import('@/views/dashboard/base/index.vue'),
              meta: {
                title: {
                  zh_CN: '概览仪表盘',
                  en_US: 'Overview',
                },
              },
            },
            {
              path: 'detail',
              name: 'DashboardDetail',
              component: () => import('@/views/dashboard/detail/index.vue'),
              meta: {
                title: {
                  zh_CN: '统计报表',
                  en_US: 'Dashboard Detail',
                },
              },
            },{
              path: '/user',
              name: 'user',
              component:()=>import('@/views/user/index.vue')
            },{
              path: '/photographType',
              name: 'photographType',
              component:()=>import('@/views/photograph/type/index.vue')
            },{
              path: '/photograph',
              name: 'photograph',
              component:()=>import('@/views/photograph/index.vue')
            },{
              path: '/reportType',
              name: 'reportType',
              component:()=>import('@/views/report/type/index.vue')
            },{
              path: '/reportPhotograph',
              name: 'reportPhotograph',
              component:()=>import('@/views/report/photograph/index.vue')
            },{
              path: '/reportComment',
              name: 'reportComment',
              component:()=>import('@/views/report/comment/index.vue')
            },{
              path: '/notice',
              name: 'notice',
              component:()=>import('@/views/notice/index.vue')
            },{
              path: '/setting',
              name: 'setting',
              component:()=>import('@/views/system/setting/index.vue')
            },{
              path: '/carousel',
              name: 'carousel',
              component:()=>import('@/views/system/carousel/index.vue')
            }
          ]},
]